projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0776f5
)
(tab-to-tab-stop): Expand abbrevs only after a word-char.
author
Richard M. Stallman
<rms@gnu.org>
Sat, 5 Aug 1995 20:21:06 +0000
(20:21 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sat, 5 Aug 1995 20:21:06 +0000
(20:21 +0000)
lisp/indent.el
patch
|
blob
|
history
diff --git
a/lisp/indent.el
b/lisp/indent.el
index 9aaaf299423b8f61acec3f91fedfdea3688d121d..dd2f95771bf9b016ada4a6d7e1ea06cf9c9fca0d 100644
(file)
--- a/
lisp/indent.el
+++ b/
lisp/indent.el
@@
-419,7
+419,8
@@
You can add or remove colons and then do \\<edit-tab-stops-map>\\[edit-tab-stops
The variable `tab-stop-list' is a list of columns at which there are tab stops.
Use \\[edit-tab-stops] to edit them interactively."
(interactive)
- (if abbrev-mode (expand-abbrev))
+ (and abbrev-mode (= (char-syntax (preceding-char)) ?w)
+ (expand-abbrev))
(let ((tabs tab-stop-list))
(while (and tabs (>= (current-column) (car tabs)))
(setq tabs (cdr tabs)))